Inside Macintosh: Imaging with QuickDraw
Previous
|
Chapter Top
|
Chapter Contents
|
Next
Contents
About Color QuickDraw
RGB Colors
The Color Drawing Environment: Color Graphics Ports
Pixel Maps
Pixel Patterns
Color QuickDraw's Translation of RGB Colors to Pixel Values
Colors on Grayscale Screens
Using Color QuickDraw
Initializing Color QuickDraw
Creating Color Graphics Ports
Drawing With Different Foreground Colors
Drawing With Pixel Patterns
Copying Pixels Between Color Graphics Ports
Boolean Transfer Modes With Color Pixels
Dithering
Arithmetic Transfer Modes
Highlighting
Color QuickDraw Reference
Data Structures
PixMap
CGrafPort
RGBColor
ColorSpec
ColorTable
MatchRec
PixPat
CQDProcs
GrafVars
Color QuickDraw Routines
Opening and Closing Color Graphics Ports
OpenCPort
InitCPort
CloseCPort
Managing a Color Graphics Pen
PenPixPat
Changing the Background Pixel Pattern
BackPixPat
Drawing With Color QuickDraw Colors
RGBForeColor
RGBBackColor
SetCPixel
FillCRect
FillCRoundRect
FillCOval
FillCArc
FillCPoly
FillCRgn
OpColor
HiliteColor
Determining Current Colors and Best Intermediate Colors
GetForeColor
GetBackColor
GetCPixel
GetGray
Calculating Color Fills
SeedCFill
CalcCMask
Creating, Setting, and Disposing of Pixel Maps
NewPixMap
CopyPixMap
SetPortPix
DisposePixMap
Creating and Disposing of Pixel Patterns
GetPixPat
NewPixPat
CopyPixPat
MakeRGBPat
DisposePixPat
Creating and Disposing of Color Tables
GetCTable
DisposeCTable
Retrieving Color QuickDraw Result Codes
QDError
Customizing Color QuickDraw Operations
SetStdCProcs
Reporting Data Structure Changes to QuickDraw
CTabChanged
PixPatChanged
PortChanged
GDeviceChanged
Application-Defined Routine
MyColorSearch
Resources
The Pixel Pattern Resource
The Color Table Resource
The Color Icon Resource
© 1997 Apple Computer, Inc.
Previous
|
Chapter Top
|
Chapter Contents
|
Next